import request from '@/utils/request'
//添加房间
export function sqRoom_add(data) {
return request({
url: '/api/sqRoom/add',
method: 'post',
data
})
}
//修改房间
export function sqRoom_update(data) {
return request({
url: '/api/sqRoom/update',
method: 'post',
data
})
}
//删除房间
export function sqRoom_delete(data) {
return request({
url: '/api/sqRoom/delete/' + data.id,
method: 'post',
data
})
}
//房间详情
export function sqRoom_info(param) {
return request({
url: '/api/sqRoom/info/' + param.id,
method: 'get',
param
})
}
//房间分页列表
export function sqRoom_getPageList(data) {
return request({
url: '/api/sqRoom/getPageList',
method: 'post',
data
})
}
